home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19981211-19990422 / 000153_news@watsun.cc.columbia.edu _Wed Jan 27 17:48:21 1999.msg < prev    next >
Internet Message Format  |  2020-01-01  |  10KB

  1. Return-Path: <news@watsun.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id RAA15323
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Wed, 27 Jan 1999 17:48:15 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id RAA23407
  7.     for kermit.misc@watsun.cc.columbia.edu; Wed, 27 Jan 1999 17:47:17 -0500 (EST)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: Yasir Hassan <yhasan@sibelius.com>
  10. Subject: NEWBIE: Can't build kermit on Linux (Red Hat 5.1)
  11. Date: Wed, 27 Jan 1999 22:44:58 +0000
  12. Message-ID: <36AF96EA.F388D12B@sibelius.com>
  13. To: kermit.misc@mailrelay2.cc.columbia.edu
  14.  
  15. I downloaded cku192.tar.gz and tried to build using "make linux" and got
  16. the following output from make:
  17.  
  18. Making C-Kermit "6.0.192" for Linux...
  19. IMPORTANT: Read the comments in the linux section of the
  20. makefile if you get compilation or link errors.
  21. make wermit "CC = gcc" "CC2 = gcc" \
  22. "CFLAGS = -O -DPOSIX -DDYNAMIC -DCK_CURSES -DCK_POSIX_SIG \
  23. -DBIGBUFOK -DTCPSOCKET -DLINUXFSSTND " \
  24. "LNKFLAGS = " "LIBS = -lcurses -ltermcap"
  25. make[1]: Entering directory `/usr/local/bin/kermit'
  26. gcc -O -DPOSIX -DDYNAMIC -DCK_CURSES -DCK_POSIX_SIG  -DBIGBUFOK
  27. -DTCPSOCKET -DLINUXFSSTND    -c ckcmai.c -o ckcmai.o
  28. gcc -O -DPOSIX -DDYNAMIC -DCK_CURSES -DCK_POSIX_SIG  -DBIGBUFOK
  29. -DTCPSOCKET -DLINUXFSSTND    -c ckucmd.c -o ckucmd.o
  30. gcc -O -DPOSIX -DDYNAMIC -DCK_CURSES -DCK_POSIX_SIG  -DBIGBUFOK
  31. -DTCPSOCKET -DLINUXFSSTND    -c ckuusr.c -o ckuusr.o
  32. gcc -O -DPOSIX -DDYNAMIC -DCK_CURSES -DCK_POSIX_SIG  -DBIGBUFOK
  33. -DTCPSOCKET -DLINUXFSSTND    -c ckuus2.c -o ckuus2.o
  34. gcc -O -DPOSIX -DDYNAMIC -DCK_CURSES -DCK_POSIX_SIG  -DBIGBUFOK
  35. -DTCPSOCKET -DLINUXFSSTND    -c ckuus3.c -o ckuus3.o
  36. gcc -O -DPOSIX -DDYNAMIC -DCK_CURSES -DCK_POSIX_SIG  -DBIGBUFOK
  37. -DTCPSOCKET -DLINUXFSSTND    -c ckuus4.c -o ckuus4.o
  38. gcc -O -DPOSIX -DDYNAMIC -DCK_CURSES -DCK_POSIX_SIG  -DBIGBUFOK
  39. -DTCPSOCKET -DLINUXFSSTND    -c ckuus5.c -o ckuus5.o
  40. gcc -O -DPOSIX -DDYNAMIC -DCK_CURSES -DCK_POSIX_SIG  -DBIGBUFOK
  41. -DTCPSOCKET -DLINUXFSSTND    -c ckuus6.c -o ckuus6.o
  42. gcc -O -DPOSIX -DDYNAMIC -DCK_CURSES -DCK_POSIX_SIG  -DBIGBUFOK
  43. -DTCPSOCKET -DLINUXFSSTND    -c ckuus7.c -o ckuus7.o
  44. gcc -O -DPOSIX -DDYNAMIC -DCK_CURSES -DCK_POSIX_SIG  -DBIGBUFOK
  45. -DTCPSOCKET -DLINUXFSSTND    -c ckuusx.c -o ckuusx.o
  46. gcc -O -DPOSIX -DDYNAMIC -DCK_CURSES -DCK_POSIX_SIG  -DBIGBUFOK
  47. -DTCPSOCKET -DLINUXFSSTND    -c ckuusy.c -o ckuusy.o
  48. gcc -O -DPOSIX -DDYNAMIC -DCK_CURSES -DCK_POSIX_SIG  -DBIGBUFOK
  49. -DTCPSOCKET -DLINUXFSSTND    -c ckwart.c -o ckwart.o
  50. gcc  -o wart ckwart.o -lcurses -ltermcap
  51. ./wart ckcpro.w ckcpro.c
  52. 14 states, 61 actions
  53. gcc -O -DPOSIX -DDYNAMIC -DCK_CURSES -DCK_POSIX_SIG  -DBIGBUFOK
  54. -DTCPSOCKET -DLINUXFSSTND    -c ckcpro.c -o ckcpro.o
  55. gcc -O -DPOSIX -DDYNAMIC -DCK_CURSES -DCK_POSIX_SIG  -DBIGBUFOK
  56. -DTCPSOCKET -DLINUXFSSTND    -c ckcfns.c -o ckcfns.o
  57. gcc -O -DPOSIX -DDYNAMIC -DCK_CURSES -DCK_POSIX_SIG  -DBIGBUFOK
  58. -DTCPSOCKET -DLINUXFSSTND    -c ckcfn2.c -o ckcfn2.o
  59. gcc -O -DPOSIX -DDYNAMIC -DCK_CURSES -DCK_POSIX_SIG  -DBIGBUFOK
  60. -DTCPSOCKET -DLINUXFSSTND    -c ckcfn3.c -o ckcfn3.o
  61. gcc -O -DPOSIX -DDYNAMIC -DCK_CURSES -DCK_POSIX_SIG  -DBIGBUFOK
  62. -DTCPSOCKET -DLINUXFSSTND    -c ckuxla.c -o ckuxla.o
  63. gcc -O -DPOSIX -DDYNAMIC -DCK_CURSES -DCK_POSIX_SIG  -DBIGBUFOK
  64. -DTCPSOCKET -DLINUXFSSTND    -c ckucon.c -o ckucon.o
  65. gcc -O -DPOSIX -DDYNAMIC -DCK_CURSES -DCK_POSIX_SIG  -DBIGBUFOK
  66. -DTCPSOCKET -DLINUXFSSTND    -c ckutio.c -o ckutio.o
  67. In file included from /usr/include/linux/net.h:23,
  68.                  from /usr/include/linux/fs.h:15,
  69.                  from ckutio.c:668:
  70. /usr/include/linux/socket.h:38: warning: `SCM_RIGHTS' redefined
  71. /usr/include/socketbits.h:216: warning: this is the location of the
  72. previous definition
  73. /usr/include/linux/socket.h:41: warning: `SOCK_STREAM' redefined
  74. /usr/include/socketbits.h:40: warning: this is the location of the
  75. previous definition
  76. /usr/include/linux/socket.h:42: warning: `SOCK_DGRAM' redefined
  77. /usr/include/socketbits.h:43: warning: this is the location of the
  78. previous definition
  79. /usr/include/linux/socket.h:43: warning: `SOCK_RAW' redefined
  80. /usr/include/socketbits.h:45: warning: this is the location of the
  81. previous definition
  82. /usr/include/linux/socket.h:44: warning: `SOCK_RDM' redefined
  83. /usr/include/socketbits.h:47: warning: this is the location of the
  84. previous definition
  85. /usr/include/linux/socket.h:45: warning: `SOCK_SEQPACKET' redefined
  86. /usr/include/socketbits.h:50: warning: this is the location of the
  87. previous definition
  88. /usr/include/linux/socket.h:46: warning: `SOCK_PACKET' redefined
  89. /usr/include/socketbits.h:54: warning: this is the location of the
  90. previous definition
  91. /usr/include/linux/socket.h:53: warning: `AF_UNSPEC' redefined
  92. /usr/include/socketbits.h:82: warning: this is the location of the
  93. previous definition
  94. /usr/include/linux/socket.h:54: warning: `AF_UNIX' redefined
  95. /usr/include/socketbits.h:84: warning: this is the location of the
  96. previous definition
  97. /usr/include/linux/socket.h:55: warning: `AF_INET' redefined
  98. /usr/include/socketbits.h:86: warning: this is the location of the
  99. previous definition
  100. /usr/include/linux/socket.h:56: warning: `AF_AX25' redefined
  101. /usr/include/socketbits.h:87: warning: this is the location of the
  102. previous definition
  103. /usr/include/linux/socket.h:57: warning: `AF_IPX' redefined
  104. /usr/include/socketbits.h:88: warning: this is the location of the
  105. previous definition
  106. /usr/include/linux/socket.h:58: warning: `AF_APPLETALK' redefined
  107. /usr/include/socketbits.h:89: warning: this is the location of the
  108. previous definition
  109. /usr/include/linux/socket.h:59: warning: `AF_NETROM' redefined
  110. /usr/include/socketbits.h:90: warning: this is the location of the
  111. previous definition
  112. /usr/include/linux/socket.h:60: warning: `AF_BRIDGE' redefined
  113. /usr/include/socketbits.h:91: warning: this is the location of the
  114. previous definition
  115. /usr/include/linux/socket.h:61: warning: `AF_AAL5' redefined
  116. /usr/include/socketbits.h:92: warning: this is the location of the
  117. previous definition
  118. /usr/include/linux/socket.h:62: warning: `AF_X25' redefined
  119. /usr/include/socketbits.h:93: warning: this is the location of the
  120. previous definition
  121. /usr/include/linux/socket.h:66: warning: `AF_MAX' redefined
  122. /usr/include/socketbits.h:103: warning: this is the location of the
  123. previous definition
  124. /usr/include/linux/socket.h:69: warning: `PF_UNSPEC' redefined
  125. /usr/include/socketbits.h:58: warning: this is the location of the
  126. previous definition
  127. /usr/include/linux/socket.h:70: warning: `PF_UNIX' redefined
  128. /usr/include/socketbits.h:60: warning: this is the location of the
  129. previous definition
  130. /usr/include/linux/socket.h:71: warning: `PF_INET' redefined
  131. /usr/include/socketbits.h:62: warning: this is the location of the
  132. previous definition
  133. /usr/include/linux/socket.h:72: warning: `PF_AX25' redefined
  134. /usr/include/socketbits.h:63: warning: this is the location of the
  135. previous definition
  136. /usr/include/linux/socket.h:73: warning: `PF_IPX' redefined
  137. /usr/include/socketbits.h:64: warning: this is the location of the
  138. previous definition
  139. /usr/include/linux/socket.h:74: warning: `PF_APPLETALK' redefined
  140. /usr/include/socketbits.h:65: warning: this is the location of the
  141. previous definition
  142. /usr/include/linux/socket.h:75: warning: `PF_NETROM' redefined
  143. /usr/include/socketbits.h:66: warning: this is the location of the
  144. previous definition
  145. /usr/include/linux/socket.h:76: warning: `PF_BRIDGE' redefined
  146. /usr/include/socketbits.h:67: warning: this is the location of the
  147. previous definition
  148. /usr/include/linux/socket.h:77: warning: `PF_AAL5' redefined
  149. /usr/include/socketbits.h:68: warning: this is the location of the
  150. previous definition
  151. /usr/include/linux/socket.h:78: warning: `PF_X25' redefined
  152. /usr/include/socketbits.h:69: warning: this is the location of the
  153. previous definition
  154. /usr/include/linux/socket.h:82: warning: `PF_MAX' redefined
  155. /usr/include/socketbits.h:79: warning: this is the location of the
  156. previous definition
  157. /usr/include/linux/socket.h:88: warning: `MSG_OOB' redefined
  158. /usr/include/socketbits.h:137: warning: this is the location of the
  159. previous definition
  160. /usr/include/linux/socket.h:89: warning: `MSG_PEEK' redefined
  161. /usr/include/socketbits.h:139: warning: this is the location of the
  162. previous definition
  163. /usr/include/linux/socket.h:90: warning: `MSG_DONTROUTE' redefined
  164. /usr/include/socketbits.h:141: warning: this is the location of the
  165. previous definition
  166. /usr/include/linux/socket.h:92: warning: `MSG_PROXY' redefined
  167. /usr/include/socketbits.h:145: warning: this is the location of the
  168. previous definition
  169. In file included from /usr/include/linux/vfs.h:4,
  170.                  from /usr/include/linux/fs.h:14,
  171.                  from ckutio.c:668:
  172. /usr/include/asm/statfs.h:20: parse error before `__kernel_fsid_t'
  173. /usr/include/asm/statfs.h:20: warning: no semicolon at end of struct or
  174. union
  175. /usr/include/asm/statfs.h:23: parse error before `}'
  176. In file included from /usr/include/linux/net.h:23,
  177.                  from /usr/include/linux/fs.h:15,
  178.                  from ckutio.c:668:
  179. /usr/include/linux/socket.h:9: redefinition of `struct sockaddr'
  180. /usr/include/linux/socket.h:14: redefinition of `struct linger'
  181. /usr/include/linux/socket.h:26: redefinition of `struct msghdr'
  182. ckutio.c: In function `ttsspd':
  183. ckutio.c:4679: `TIOCGSERIAL' undeclared (first use this function)
  184. ckutio.c:4679: (Each undeclared identifier is reported only once
  185. ckutio.c:4679: for each function it appears in.)
  186. ckutio.c:4685: `TIOCSSERIAL' undeclared (first use this function)
  187. ckutio.c: In function `ttgspd':
  188. ckutio.c:4833: `TIOCGSERIAL' undeclared (first use this function)
  189. ckutio.c: In function `in_chk':
  190. ckutio.c:6092: warning: passing arg 3 of `select' from incompatible
  191. pointer type
  192. ckutio.c:6092: warning: passing arg 4 of `select' from incompatible
  193. pointer type
  194. make[1]: *** [ckutio.o] Error 1
  195. make[1]: Leaving directory `/usr/local/bin/kermit'
  196. make: *** [linux] Error 2
  197.  
  198. Can anyone help me out?
  199.  
  200. Thanks in advance.
  201.  
  202. Yasir Hassan
  203.